package org.web.abc.stockanalysis.server.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.web.abc.stockanalysis.server.domain.query.QueryAccountInfo;
import org.web.abc.stockanalysis.server.domain.AccountInfoDO;

@Mapper
public interface AccountInfoDAO {

    AccountInfoDO selectAccountInfoByAccountInfoId(Integer accountInfoId);

    List< AccountInfoDO > selectAccountInfoList(QueryAccountInfo queryAccountInfo);

    Integer countAccountInfoList(QueryAccountInfo queryAccountInfo);

    int insertAccountInfo(AccountInfoDO accountInfoDO);

    int updateAccountInfoByAccountInfoId(AccountInfoDO accountInfoDO);

    int deleteAccountInfoByAccountInfoId(Integer accountInfoId);

    List<String> selectDistinctList(QueryAccountInfo queryAccountInfo);

}
